package com.etc.bean;

/**
 * Account entity. @author MyEclipse Persistence Tools
 */

public class Account implements java.io.Serializable {

	// Fields

	private Integer accountId;
	private User user;
	private String accpassword;
	private Double money;
	private String atime;

	// Constructors

	/** default constructor */
	public Account() {
	}

	/** full constructor */
	public Account(User user, String accpassword, Double money, String atime) {
		this.user = user;
		this.accpassword = accpassword;
		this.money = money;
		this.atime = atime;
	}

	// Property accessors

	public Integer getAccountId() {
		return this.accountId;
	}

	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getAccpassword() {
		return this.accpassword;
	}

	public void setAccpassword(String accpassword) {
		this.accpassword = accpassword;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public String getAtime() {
		return this.atime;
	}

	public void setAtime(String atime) {
		this.atime = atime;
	}

}